﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApi.Models
{
    public class ModelBase
    {
        public int code { set; get; }//错误代码
        public string message { set; get; }//错误信息
        public object data { set; get; }//返回内容
        public int total { set; get; }

        public ModelBase()
        {
            code = 0;
            message = "";
            data = null;
            total = 0;
        }
    }
}